package com.example.demo.Service.imp;

import com.example.demo.Service.TUserService;
import com.example.demo.entity.TUser;
import com.example.demo.mappers.TUserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class TUserServiceimp implements TUserService {
    private TUserMapper tUserMapper;
@Autowired
    public void settUserMapper(TUserMapper tUserMapper) {
        this.tUserMapper = tUserMapper;
    }

    @Override
    public TUser denglu(TUser user) {
        return tUserMapper.denglu(user);
    }
}
